home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3vslice.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.1 KB  |  54 lines

  1.  
  2. // JavaScript wrapper for r3vslice.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_VSLICE_H = 1;
  7. include("real/raytr/r3frobj.js")
  8. include("oops/r3vector.js")
  9.  
  10.  
  11. var R3CLID_VSLICE = 444;
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. R3VSLA_Center = 444500;
  20. function SetR3VSLA_Center(value) {
  21.   R3Set(this.r3obj, R3VSLA_Center, value, R3TID_VECTOR, 0); 
  22. }
  23.  
  24. function GetR3VSLA_Center() {
  25.   return R3Get(this.r3obj, R3VSLA_Center, R3TID_VECTOR, 0); 
  26. }
  27.  
  28. R3VSLA_Direction = 444501;
  29. function SetR3VSLA_Direction(value) {
  30.   R3Set(this.r3obj, R3VSLA_Direction, value, R3TID_VECTOR, 0); 
  31. }
  32.  
  33. function GetR3VSLA_Direction() {
  34.   return R3Get(this.r3obj, R3VSLA_Direction, R3TID_VECTOR, 0); 
  35. }
  36.  
  37.  
  38.  
  39. function r3Vslice () { 
  40.    this.base = r3God;
  41.    if(arguments.length) {
  42.       this.base(R3CLID_VSLICE, arguments);
  43.    }
  44.    // Methods
  45.  
  46.    // Attributes
  47.    this.GetCenter=GetR3VSLA_Center;
  48.    this.SetCenter=SetR3VSLA_Center;
  49.    this.GetDirection=GetR3VSLA_Direction;
  50.    this.SetDirection=SetR3VSLA_Direction;
  51. }
  52.  
  53. r3Vslice.prototype=new r3Frobject;
  54. // r3vslice.h_H